package com.mbk.mdb.app.${moduleName}.manager;


import javax.annotation.Resource;

import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.mbk.mdb.app.${moduleName}.service.${entity.className}Service;
import com.mbk.infra.common.app.manager.AbstractCommonManager;
import com.mbk.infra.common.app.service.CommonService;
import com.mbk.mdb.entity.${moduleName}.${entity.className}Entity;

/***
 *
 * ${entity.className}业务组合
 * @author MyBank.cc Code Generator
 * @version 1.0
 * ${currentDate}
 *
 */
@Component
@Transactional
public class ${entity.className}Manager extends AbstractCommonManager<${entity.className}Entity, String>{

	Logger logger = LoggerFactory.getLogger(${entity.className}Manager.class);

	@Resource ${entity.className}Service ${entity.className?uncap_first}Service;
	
	@Override
	protected CommonService<${entity.className}Entity, String> getService() {
		return ${entity.className?uncap_first}Service;
	}

}
